﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace AcademicAudit_JoelShuman
{
    public enum Semester { FALL = 0, SPRING = 1, WINTER = 2, NOTSET = 3, SUMMER = 4 }
    public enum CourseType { CORE = 0, GENED = 1, ELECTIVE = 2 }
    public enum Grade { UNKNOWN = 0, A = 1, B = 2, C = 3, D = 4, F = 5 }
    public enum Status { I = 0, W = 1, C = 2 }
    public class Course
	{
		public Course(int courseID, String courseNumber, String courseName, int credits, int year,
					   Semester semester, CourseType courseType, Grade grade, Status status)
		{
			m_CourseID = courseID;
			m_CourseNumber = courseNumber;
			m_CourseName = courseName;
			m_Credits = credits;
			m_Semester = semester;
			m_year = year;
			m_CourseType = courseType;
			m_CourseGrade = grade;
			m_CourseStatus = status;
		}

		public Course(){}

		//ID, FirstName,LastName,CourseID,CourseNumber,CourseName,Credits,Semester,Year,CourseType,Grade
		
		public int m_CourseID { get; set; }
		public String m_CourseNumber { get; set; }
		public String m_CourseName { get; set; }
		public int m_Credits { get; set; }
		public Semester m_Semester { get; set; }
		public int m_year { get; set; }
		public CourseType m_CourseType { get; set; }
		public Grade m_CourseGrade { get; set; }
		public Status m_CourseStatus { get; set; }
    }
}
